package router

import (
	"fx_swift_ifcgate/internal/controller"
	"fx_swift_ifcgate/pkg/middleware"
)

func IndexRouter() {
	indexApiVer := miniApiVer.Group("index", middleware.CheckAuth())
	{
		indexApiVer.GET("tp3004", controller.Tp3004)
		indexApiVer.GET("getPlacard", controller.GetPlacard)
		indexApiVer.POST("collectTrends", controller.CollectTrends)
	}
}
